package com.kandinfo.survey.common.dto.useranswer;

import java.io.Serializable;

/**
 * 用户做题传参dto, created on 12/7/2016
 * <p>
 * attention : optionId == null, 为填空题, answerContent为用户答案, 不为空, 为选择题(具体的选项), 选择后, 用户选填的信息
 * 
 * @author Patrick-chenziping-TG
 */
public class UserAnswerRequestDto implements Serializable {

    private static final long serialVersionUID = 7443856968703021430L;
    // 问卷id
    private Long questionnaireId;
    // 题目id
    private Long questionId;
    // 选项id(选择题, 选择的选项)
    private Long optionId;
    // 用户答案信息
    private String answerContent;
    // 是否预警
    private String needAlarm;

    public Long getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(Long questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public Long getOptionId() {
        return optionId;
    }

    public void setOptionId(Long optionId) {
        this.optionId = optionId;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
    }

    public String getNeedAlarm() {
        return needAlarm;
    }

    public void setNeedAlarm(String needAlarm) {
        this.needAlarm = needAlarm;
    }

}
